# encoding: utf-8
# @author: luzhangdan
# @file: run.py
# @time: 2021/10/19 17:41

import pytest
import os

path = os.getcwd()
report_json = path + "/report/json"
report_html = path + "/report/html"
pytest.main()
report_cmd = "allure generate " + report_json + " -o " + report_html + " --clean"
os.system(report_cmd)
